﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace AnQinFrameWorkAPI.Entity.Blog.Entity;

/// <summary>
///     博客登录模型
/// </summary>
[Table("BlogLogin")]
public class BlogLoginModel
{
    /// <summary>
    ///     博客登录id
    /// </summary>
    [Key]
    [MaxLength(36)]
    public Guid Id { get; set; }

    /// <summary>
    ///     博客用户id
    /// </summary>
    [MaxLength(36)]
    public Guid UserId { get; set; }

    /// <summary>
    ///     博客用户Token
    /// </summary>
    public string Token { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
}